package personal.xjl._23java2studentdemo.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data@NoArgsConstructor@AllArgsConstructor
public class Teacher {
    private int id;
    private String name;
    private String password;
    private int sex;
    String birthday;
    //int course_id;
    Course course;      //一对一关系
    String professional;
}
